home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir40 / mkprt101.zip / MAKEPORT.DOC < prev    next >
Text File  |  1994-05-12  |  2KB  |  43 lines

  1. In 1991, Marshall Dudley (author of the popular program Doorway)
  2. wrote a simple utility to correct a problem that occurs on some
  3. computers equipped with an AMI BIOS.
  4.  
  5. Normally, the port addresses of your serial ports are stored in
  6. memory beginning at location 0000:0040 as follows:
  7.  
  8. COM1  03f8h
  9. COM2  03e8h
  10. COM3  02f8h
  11. COM4  02e8h
  12.  
  13. But sometimes after a warm reboot (Ctrl-Alt-Del), the BIOS fails
  14. to write those values to their proper place in memory.  As a
  15. result, any communications program which depends on those port
  16. values will fail to operate correctly until you do a cold boot
  17. (press the Reset or turn the power off).
  18.  
  19. If you run MAKEPORT in your AUTOEXEC.BAT, it will write any of
  20. the port addresses you need into memory every time you boot up
  21. the computer.  MAKEPORT 1 will write the address of COM1 (as will
  22. MAKEPORT with no parameter).  MAKEPORT 2 will write the address
  23. of COM2, and so on.  (Use only the ones you need.  If your
  24. computer has only 2 serial ports or devices, then there's no
  25. point writing an address for COM3 or COM4.)
  26.  
  27.                      Added in Version 1.01:
  28.  
  29. In my experience, Marshall Dudley's original program works well
  30. on almost all computers which suffer the problem of losing their
  31. port-mapping on a warm reboot.  But I have encountered one very
  32. flakey no-name machine with a May 1991 AMI BIOS that also manages
  33. to lose the address of the printer port LPT1 after a warm boot!
  34.  
  35. So I added a new option:  Running MAKEPORT P will write the value
  36. 0378h, the standard address of printer port LPT1, into its proper
  37. place in memory so that the computer can recognize the existence
  38. of the printer.
  39.  
  40.  
  41. Neil Parks
  42. 5/12/94
  43.